package org.example.myleet.p678;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.checkValidString("()"));
        Assert.isTrue(solution.checkValidString("(*)"));
        Assert.isTrue(solution.checkValidString("(*))"));
        Assert.isTrue(!solution.checkValidString(")*("));
        Assert.isTrue(!solution.checkValidString(")*"));
        Assert.isTrue(!solution.checkValidString("*("));
        Assert.isTrue(solution.checkValidString("(*"));
        Assert.isTrue(!solution.checkValidString("(*(***(("));
        Assert.isTrue(!solution.checkValidString("(((((*(()((((*((**(((()()*)()()()*((((**)())*)*)))))))(())(()))())((*()()(((()((()*(())*(()**)()(())"));
    }
}
